package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 *
 * </p>
 *
 * @author 陈润强
 * @since 2020-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Section extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 小节ID
     */
    @TableId(value = "section_id", type = IdType.AUTO)
    private Integer sectionId;

    /**
     * 小节名
     * */
    private String sectionName;

    /**
     * 章节ID
     * */
    private Integer chapterId;

    /**
     * 小节状态：0不可操作；1可操作
     * */
    private Integer sectionType;

}
